<include file='Public/header' />
<form method="POST" enctype= "multipart/form-data" action="{:U('add')}" role="form">
	<table class="table">
		<tr>
		<th>上传图片</th>
		<td><input type="file" name="yjl_photo" id="inputfile"></td>
		</tr>
		<tr>
		<th>名称</th>
		<td> <input type="text" name="yjl_name" class="form-control" id="name" 
			 placeholder="请输入名称" >
		</td>
		</tr>
		<tr>
		<th>简短介绍</th>
		<td> <textarea  rows='2' name="yjl_basdescrip" class="form-control" id="name" 
			 placeholder="语言精简，作为宣传语" ></textarea>
		</td>
		</tr>
		<tr>
		<th>详细介绍</th>
		<td> <textarea  rows='5' name="yjl_detdescrip" class="form-control" id="name" 
			 placeholder="语言翔实，让客户尽量了解"></textarea>
		</td>
		</tr>
		<tr>
		<th>规格参数</th>
		<td> <textarea  rows='5' class="form-control"  name="yjl_parameter" 
			 placeholder="精准有效，可以参考商品说明书的规格参数部分"></textarea>
		</td>
		</tr>
		<tr>
		<th>所属类别</th>
		<td> 
		<select name="yjl_classid">
		<volist name="idlist" id="vo">
		  <option value ="{$vo.yjl_id}">{$vo.yjl_classname}</option>
		</volist>
		</select>
		</td>
		</tr>
	</table>
	<input type="submit" class="btn btn-primary" value="提交">
</form>
<include file='Public/footer'/>
